
PRJ_NAME       = "fpga-2016"
# PRJ_VERSION    = "1"
# PRJ_PATCHLEVEL = "0"
# PRJ_SUBLEVEL   = "0"


# default download.elf,download.dis,download.bin
OUTPUT_ELF	= tr600-pp.elf
# OUTPUT_DIS	= 
# OUTPUT_BIN	= 
# OUTPUT_SO 	= 
# OUTPUT_A	= 
# OUTPUT_DIR 	= 



INCLUDE_DIR	+= 
LFLAGS-y	+= -lotdr-peripheral -lpthread
# LFLAGS-$(CONFIG_GLINK_TR700_BOARD) += -lfpga-tr700
# LFLAGS-$(CONFIG_GLINK_TR600_BOARD) += -lfpga-2016


ifeq ("$(CONFIG_PROTOCAL_TR600_SPI)", "y")
	LFLAGS-y 	+= -lfpga-2016
endif

ifeq ("$(CONFIG_PROTOCAL_TR700_SPI)", "y")
	LFLAGS-y 	+= -lfpga-tr700
endif

ifeq ("$(CONFIG_PROTOCAL_TR700_USB)", "y")
	LFLAGS-y 	+= -lfpga-tr700-usb
endif

LFLAGS		+= $(LFLAGS-y) -lm
LIB_DIR 	+= 
CFLAGS      +=  -O3
